Integrand size = 25, antiderivative size = 119 \[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\frac {21 a b \sqrt [3]{d \sec (e+f x)}}{4 f}-\frac {3 \left (4 a^2-3 b^2\right ) d \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},\cos ^2(e+f x)\right ) \sin (e+f x)}{8 f (d \sec (e+f x))^{2/3} \sqrt {\sin ^2(e+f x)}}+\frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3589, 3567, 3857, 2722} \[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=-\frac {3 d \left (4 a^2-3 b^2\right ) \sin (e+f x) \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},\cos ^2(e+f x)\right )}{8 f \sqrt {\sin ^2(e+f x)} (d \sec (e+f x))^{2/3}}+\frac {21 a b \sqrt [3]{d \sec (e+f x)}}{4 f}+\frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f} \]
[In]
[Out]
Rule 2722
Rule 3567
Rule 3589
Rule 3857
Rubi steps \begin{align*} \text {integral}& = \frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f}+\frac {3}{4} \int \sqrt [3]{d \sec (e+f x)} \left (\frac {4 a^2}{3}-b^2+\frac {7}{3} a b \tan (e+f x)\right ) \, dx \\ & = \frac {21 a b \sqrt [3]{d \sec (e+f x)}}{4 f}+\frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f}+\frac {1}{4} \left (4 a^2-3 b^2\right ) \int \sqrt [3]{d \sec (e+f x)} \, dx \\ & = \frac {21 a b \sqrt [3]{d \sec (e+f x)}}{4 f}+\frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f}+\frac {1}{4} \left (\left (4 a^2-3 b^2\right ) \sqrt [3]{\frac {\cos (e+f x)}{d}} \sqrt [3]{d \sec (e+f x)}\right ) \int \frac {1}{\sqrt [3]{\frac {\cos (e+f x)}{d}}} \, dx \\ & = \frac {21 a b \sqrt [3]{d \sec (e+f x)}}{4 f}-\frac {3 \left (4 a^2-3 b^2\right ) \cos (e+f x) \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},\cos ^2(e+f x)\right ) \sqrt [3]{d \sec (e+f x)} \sin (e+f x)}{8 f \sqrt {\sin ^2(e+f x)}}+\frac {3 b \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))}{4 f} \\ \end{align*}
Time = 0.90 (sec) , antiderivative size = 106, normalized size of antiderivative = 0.89 \[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\frac {3 \sqrt [3]{d \sec (e+f x)} \left (\frac {b^2 \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},\frac {1}{6},\frac {7}{6},\sec ^2(e+f x)\right ) \tan (e+f x)}{\sqrt {-\tan ^2(e+f x)}}+a \left (2 b+a \cot (e+f x) \operatorname {Hypergeometric2F1}\left (\frac {1}{6},\frac {1}{2},\frac {7}{6},\sec ^2(e+f x)\right ) \sqrt {-\tan ^2(e+f x)}\right )\right )}{f} \]
[In]
[Out]
\[\int \left (d \sec \left (f x +e \right )\right )^{\frac {1}{3}} \left (a +b \tan \left (f x +e \right )\right )^{2}d x\]
[In]
[Out]
\[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\int { \left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}^{2} \,d x } \]
[In]
[Out]
\[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\int \sqrt [3]{d \sec {\left (e + f x \right )}} \left (a + b \tan {\left (e + f x \right )}\right )^{2}\, dx \]
[In]
[Out]
\[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\int { \left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}^{2} \,d x } \]
[In]
[Out]
\[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\int { \left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}^{2} \,d x } \]
[In]
[Out]
Timed out. \[ \int \sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2 \, dx=\int {\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{1/3}\,{\left (a+b\,\mathrm {tan}\left (e+f\,x\right )\right )}^2 \,d x \]
[In]
[Out]